package entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * The type Separation.
 */
public class Separation extends Common implements Serializable {
    private static final long serialVersionUID = 202895720867857585L;
    @TableId(type = IdType.ID_WORKER_STR)
    private String id;


    @TableField(value = "orderId")
    private String orderId;
    @TableField(value = "separationId")
    private String separationId;

    private Integer status;
    
    private Integer delete;

    /**
     * To string string.
     *
     * @return the string
     */
    @Override
    public String toString() {
        return "Separation{" +
                "id='" + id + '\'' +
                ", orderId='" + orderId + '\'' +
                ", separationId='" + separationId + '\'' +
                ", status=" + status +
                ", delete=" + delete +
                '}';
    }

    /**
     * Gets id.
     *
     * @return the id
     * @author overlook
     * @date 2022 -04-16 20:32:12
     */
    public String getId() {
        return id;
    }

    /**
     * Sets id.
     *
     * @param id the id
     * @author overlook
     * @date 2022 -04-16 20:32:12
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * Gets order id.
     *
     * @return the order id
     * @author overlook
     * @date 2022 -04-16 20:32:12
     */
    public String getOrderId() {
        return orderId;
    }

    /**
     * Sets order id.
     *
     * @param orderId the order id
     * @author overlook
     * @date 2022 -04-16 20:32:12
     */
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    /**
     * Gets separation id.
     *
     * @return the separation id
     * @author overlook
     * @date 2022 -04-16 20:32:12
     */
    public String getSeparationId() {
        return separationId;
    }

    /**
     * Sets separation id.
     *
     * @param separationId the separation id
     * @author overlook
     * @date 2022 -04-16 20:32:12
     */
    public void setSeparationId(String separationId) {
        this.separationId = separationId;
    }

    /**
     * Gets status.
     *
     * @return the status
     * @author overlook
     * @date 2022 -04-16 20:32:12
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * Sets status.
     *
     * @param status the status
     * @author overlook
     * @date 2022 -04-16 20:32:12
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * Gets delete.
     *
     * @return the delete
     * @author overlook
     * @date 2022 -04-16 20:32:12
     */
    public Integer getDelete() {
        return delete;
    }

    /**
     * Sets delete.
     *
     * @param delete the delete
     * @author overlook
     * @date 2022 -04-16 20:32:12
     */
    public void setDelete(Integer delete) {
        this.delete = delete;
    }

    /**
     * Gets serial version uid.
     *
     * @return the serial version uid
     * @author overlook
     * @date 2022 -04-16 20:32:12
     */
    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    /**
     * Instantiates a new Separation.
     *
     * @param id           the id
     * @param orderId      the order id
     * @param separationId the separation id
     * @param status       the status
     * @param delete       the delete
     * @author overlook
     * @date 2022 -04-16 20:32:12
     */
    public Separation(String id, String orderId, String separationId, Integer status, Integer delete) {
        this.id = id;
        this.orderId = orderId;
        this.separationId = separationId;
        this.status = status;
        this.delete = delete;
    }

    /**
     * Instantiates a new Separation.
     *
     * @author overlook
     * @date 2022 -04-16 20:32:12
     */
    public Separation() {
    }
}

